html,body{
    position: relative;
}
// header
.header{
    width: 100%;
    height: 40px;
    background-color: #333;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 999;
    // margin-bottom: 40px;
    > .container{
        width: 1180px;
        height: 100%;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        // margin-top: 40px;
        overflow: hidden;
        > .left{
            font-size: 14px;
            > a{
                margin-right: 25px;
                color: white;
            }
        }
        > .rightt{
            width: 165px;
            height: 100%;
            font-size: 14px;
            display: flex;
            display: none;
            justify-content: space-evenly;
            align-items: center;
            > a{
                color: white;
            }
            > p{
                font-size: 20px;
                color: white;
            }

        }
        >.rightt.active{
            display: flex;
        }
        >.on.active{
            display: block;
        }
        > .on{
            position: absolute;
            right: 200px;
            top: 10px;
            display: none;
            > span{
                color: white;
                font-size: 15px;
            }
            >a{
                color: white;
                font-size: 15px;
            }
        }
    }
}

//look
.look{
    width: 39px;
    height: 100%;
    background-color: rgba(255,255,255,0.8);
    position: fixed;
    top: 0;
    right: 0;
    z-index: 998;
    display: flex;
    justify-content: center;
    flex-direction: column;
    > .top{
        width: 100%;
        height: 108px;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        margin-bottom: 100px;
        align-items: center;
        >p{
            font-size: 25px;
            color: gray;
            cursor: pointer;
        }
    }
    >.bott{
        width: 100%;
        height: 72px;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        margin-bottom: 30px;
        align-items: center;
        >p{
            font-size: 25px;
            color: gray;
            cursor: pointer;
        }
        > .last{
            display: none;
        }
    }
} 

// news
.news{
    width: 100%;
    height: 102px;
    // position: absolute;
    // top: 40px;
    > .container{
        width: 1180px;
        height: 100%;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        > .left{
            width: 474px;
            height: 100%;
            display: flex;
            align-items: center;
            > img{
                width: 180px;
                height: 36px;
                margin-right: 50px;
            }
            > a{
                color: black;
                font-size: 18px;
                margin-right: 50px;
            }
        }
        > .right{
            width: 420px;
            height: 36px;
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            > .top{
                position: relative;
                > input{
                    width: 350px;
                    height: 36px;
                    border-radius: 15px 0 0 15px;
                    border: 1px solid black;
                    border-right: none;
                    padding: 10px;
                    font-size: 18px;
                    box-sizing: border-box;
                }
                > button{
                    height: 36px;
                    width: 60px;
                    border-radius: 0 15px 15px 0;
                    border: 1px solid black;
                    border-left: none;
                    position: absolute;
                    left: 350px;
                    top: 0px;
                    background-color: white;
                    font-size: 28px;
                    cursor: pointer;
                }
                >ul{
                    width: 410px;
                    padding: 10px;
                    box-sizing: border-box;
                    position: absolute;
                    left: 0;
                    top: 100%;
                    z-index: 9999;
                    // background-color: green;
                    >li{
                        list-style: none;
                        height: 40px;
                        padding-left: 30px;
                        text-align: left;
                        margin-left: 10px;
                        line-height: 40px;
                        font-size: 20px;
                        color: gray;
                        background-color: white;
                    }
                    >li:hover{
                        background-color: #ccc;
                        color: white;
                        cursor: pointer;
                    }
                }
            }
            > .bot{
            width: 305px;
            height: 24px;
            margin-top: 6px;
            display: flex;
            justify-content: space-between;
                > li{
                    // margin-right: 15px;
                    
                    color: gray;
                    cursor: pointer;
                    >a{
                        font-size: 10px;
                        color: gray;
                    }
                }
            }
        }
    }
}

// banner
.swiper{
    width: 100%;
    height: 530px;
    z-index: -1;
    position: relative;
    > .swiper-button-prev{
        position: absolute;
        left: 550px;
        color: gray;
    }
    > .swiper-button-next{
        position: absolute;
        right: 50px ;
        color: gray;
    }
    // cate
    > .aa{
        width: 230px;
        position: absolute;
        left: 320px;
        top: 0;
        height: 48px;
        line-height: 48px;
        text-align: center;
        color: white;
        font-size: 16px;
        background-color: rgba(51,51,51,0.7);
        z-index: 100;
    }
    > .cate{
        width: 230px;
        position: absolute;
        left: 320px;
        top: 48px;
        height: 530px;
        background-color: rgba(51,51,51,0.5);
        z-index: 999;
        > li{
            height: 48px;
            text-align: center;
            line-height: 48px;
            cursor: pointer;
            >a{
                color: white;
                font-size: 14px;
            }
        }
        > li:hover{
            background-color: rgba(51,51,51,0.8);
        }
        
    }
    > .nav{
        width: 950px;
        height: 530px;
        background-color: white;
        position: absolute;
        left: 550px;
        top: 0px;
        padding: 20px 50px 20px 50px;
        z-index: 999;
        display: none;
        >a{
            width: 165px;
            height: 65px;
            display: flex;
            >img{
                width: 65px;
                height: 65px;
                margin-right: 10px;
            }
            >span{
                color: black;
                line-height: 60px;
            }
        }
    }
}

// area
.area{
    width: 100%;
    background-color: #dbd8d8;
    > .daohang{
        width: 1180px;
        margin: 0 auto;
        >.bot{
            width: 344px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            >p{
                text-align: center;
                height: 54px;
                line-height: 54px;
                font-size: 18px;
                color: gray;   
        }
        > span{
                    display: block;
                    width: 90px;
                    height: 2px;
                    border-top: 1px solid black;
        }
    }  
        > .huodong{
            width: 100%;
            height: 426px;
            // background-color: pink;
            overflow: hidden;
            > p{
                font-size: 20px;
                margin-top: 10px;
            }
            > .center{
                width: 100%;
                height: 262px;
                display: flex;
                justify-content: space-between;
                align-items: center;
                >img{
                    width: 280px;
                    height: 242px;
                }
            }
            > ing{
                width: 100%;
                height: 120px;
            }
        }

        // 一样的css
        >.anfang{
            > .top{
                width: 140px;
                height: 24px;
                padding-top: 10px;
                margin-bottom: 10px;
                display: flex;
                justify-content: space-between;
                align-items: center;
                >p{
                    font-size: 20px;
                }
                >span{
                    font-size: 15px;
                    color: gray;
                    cursor: pointer;
                }
            }
            > .cen-o{
                width: 100%;
                height: 985px;
                display: flex;
                justify-content: space-between;
                align-items: center;
                flex-wrap: wrap;
                position: relative;
                // overflow: hidden;
                > li:nth-child(1){
                    width: 580px;
                    height: 460px;
                    padding: 0;
                    >img{
                        width: 580px;
                        height: 460px;
                    }
                }
                >li{
                    width: 280px;
                    height: 460px;
                    padding: 30px 20px;
                    display: flex;
                    justify-content: space-between;
                    flex-direction: column;
                    align-items: center;
                    background-color: #f6f6f6;
                    margin-bottom: 15px;
                    > .frist{
                        width: 80px;
                        height: 20px;
                        text-align: center;
                        line-height: 20px;
                        font-size: 14px;
                        color: white;
                        background-color: orangered;
                    }
                    > .small{
                        width: 240px;
                        height: 240px;
                        pointer-events: none;
                    }
                    >.name{
                        font-size: 20px;
                        text-align: center;
                    }
                    >.desc{
                        color: gray;
                        font-size: 15px;
                    }
                    >.price{
                        width: 240px;
                        display: flex;
                        justify-content: center;
                        > .yuan{
                            font-size: 18px;
                            color: red;
                        }
                        > .no{
                            font-size: 14px;
                            margin-left: 10px;
                            margin-top: 3px;
                            color: gray;
                            text-decoration: line-through;
                        }
                    }
                }
                > .botte{
                    width: 100%;
                    height: 120px;
                    margin-bottom: 15px;
                }
            }
        }
        .gengduo{
            width: 100%;
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            align-items: center;
            >.mo{
                font-size: 20px;
                width: 1180px;
                height: 40px;
                line-height: 40px;
            }
            > .more{
                width: 220px;
                height: 345px;
                padding: 20px;
                display: flex;
                cursor: pointer;
                background-color: white;
                justify-content: space-between;
                flex-direction: column;
                align-items: center;
                margin-bottom: 15px;
                > img{
                    width: 180px;
                    height: 180px;
                    pointer-events: none;
                }
                >p{
                    font-size: 15px;
                    text-align: center;
                }
                > .price{
                    color: red;
                    font-size: 20px;
                    margin-top: 10px;
                }
                > .jiang{
                    color: orange;
                    width: 52px;
                    height: 17px;
                    font-size: 14px;
                    text-align: center;
                    line-height: 15px;
                    border: 1px solid orange;
                }
            }
        }
    }
}

// show
.show{
    width: 80px;
    height: 240px;
    background-color: white;
    position: fixed;
    top: 40%;
    transform: translateY(-50%);
    left: 50%;
    transform: translateX(-670px);
    z-index: 999;
    display: none;
    > li{
        width: 100%;
        height: 30px;
        font-size: 14px;
        line-height: 40px;
        text-align: center;
        cursor: pointer;
    }
    > li:hover{
        color: red;
    }
    > .active{
        color: red;
    }
}

// footer
.footer-o{
    width: 100%;
    height: 352px;
    > .container{
        width: 1180px;
        margin: 0 auto;
        height: 100%;
        // background-color: palegreen;
        box-sizing: none;
        display: flex;
        justify-content: space-between;
        overflow: hidden;
        border-top: 1px solid white;
        > .left{
            width: 320px;
            display: flex;
            margin-top: 60px;
            margin-bottom: 60px;
            justify-content: space-between;
            flex-wrap: wrap;
            > h1{
                font-size: 20px;
                font-weight: 700;
            }
            > p{
                font-size: 15px;
            }
            > span{
                display: block;
                width: 100%;
                height: 1px;
                border-top: 1px solid black;
            }
            > .bot{
                width: 146px;
                display: flex;
                justify-content: space-between;
                align-items: center;
                > .iconfont{
                    font-size: 25px;
                }
            }
        }
        > .center{
            width: 327px;
            margin-top: 60px;
            margin-bottom: 60px;
            display: flex;
            justify-content: space-between;
            > .le{
                font-size: 13px;
                > h1{
                    font-size: 20px;
                    font-weight: 700;
                    margin-bottom: 20px;
                }
                > ol{
                    height: 174px;
                    width: 128px;
                    display: flex;
                    justify-content: space-between;
                    flex-wrap: wrap;
                    flex-direction: column;
                    color: gray;
                }
            }
            > .righ{
                font-size: 13px;
                > h1{
                    font-size: 20px;
                    font-weight: 700;
                    margin-bottom: 20px;
                }
                > ol{
                    height: 174px;
                    width: 98px;
                    display: flex;
                    justify-content: space-between;
                    flex-wrap: wrap;
                    flex-direction: column;
                    color: gray;
                }
            }
        }
        > .right{
            width: 301px;
            height: 230px;
            border-left: 1px solid black;
            margin-top: 60px;
            margin-bottom: 60px;
            text-align: center;
            > h2{
                font-size: 20px;
                font-weight: 700;
                margin-bottom: 27px;
            }
            > h1{
                font-size: 30px;
                font-weight: 800;
            }
            > p{
                color: gray;
            }
        }
    }
}
.bottom{
    width: 100%;
    height: 200px;
    background-color: #333;
    > .container{
        width: 1180px;
        height: 100%;
        margin: 0 auto;
        .top{
            width: 100%;
            height: 81px;
            display: flex;
            justify-content: space-evenly;
            align-items: center;
            color: white;
            border-bottom: 1px solid white;
            > .one,.two,.three{
                width: 250px;
                display: flex;
                justify-content: center;
                font-size: 28px;
                > .iconfont{
                    font-size: 30px;
                    margin-right: 10px;
                    margin-top: 7px;
                }
            }
        }
        .bot{
            margin-top: 10px;
            text-align: center;
            > P{
                font-size: 15px;
                color: white;
            }
            > span{
                font-size: 13px;
                color: gray;
            }
        }
    }
}
